using Gtk;
using System.Xml.Linq;
using System.Linq;
using System.Collections.Generic;

namespace Client
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			
			/*
		   	XDocument objXmlDoc = XDocument.Load(@"C:\Users\Morgan\Desktop\SyncMusic\Client\bin\Debug\Collection.xml");
			
			//List<string> test = (from tmp in objXmlDoc.Descendants("FoldersCollection").Descendants("Folder").Descendants("File")
			                     // where tmp.Attribute("Selected").Value.Equals("false")
			  //                   select tmp.Attribute("Path").Value).ToList();
			List<XElement> test = (from tmp in objXmlDoc.Descendants("FoldersCollection").Descendants("Folder").Descendants("File")
			                    	where tmp.Attribute("Selected").Value.Equals("true")
									select tmp).ToList();
			
			
			foreach(XElement tmp in test) {
				System.Console.WriteLine("Test : "+ tmp.Attribute("Path").Value + "\n\n");	
			}
			*/
			
			Controleur_Main ctrl = new Controleur_Main();
			ctrl.Run();
			
			/*
			Application.Init ();
			Test window = new Test ();
			window.Show ();
			Application.Run();
			*/
		}
	}
}

